package ywpt.service.people;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.PeopleEducation;

public interface EducationService {

	public abstract PeopleEducation getEducationInfoById(Long id);
	
	public abstract int getEducationInfoCountByCriteria(DetachedCriteria query);

	public abstract List<PeopleEducation> getEducationInfos(
			DetachedCriteria query);

	public abstract List<PeopleEducation> getEducationInfos(
			DetachedCriteria query, int pageSize, int startIndex);

	public abstract void saveEducationInfo(PeopleEducation educationInfo,Long peopleId);

	public abstract void updateEducationInfo(PeopleEducation educationInfo,Long peopleId);

	public abstract void removeEducationInfo(Long id);

}
